/*
 * Copyright (C) 2022  Aravinth Manivannan <realaravinth@batsense.net>
 * SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
 *
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

@import '../../reset';
@import '../../vars';

.secondary-menu {
  // position: fixed;
  // width: 14%;
  // left: 0;
  // bottom: 0;
  // top: 0;
  // right: 0;

  //height: 100%;
  //overflow: auto;
  display: flex;
  flex-direction: column;

  background-color: $secondary-backdrop;
  color: $light-text;
}

.nav-toggle {
  display: none;
}

.nav__hamburger-menu {
  display: none;
}

.secondary-menu__list {
  // position: fixed;
  // top: 0;
  // bottom: 0;
  height: 100%;
}

.secondary-menu__heading {
  //  margin: auto;
  padding: 20px 5px;
  display: flex;
}
.secondary-menu__heading:hover {
  color: $green;
  cursor: pointer;
}

.secondary-menu__logo {
  width: 70px;
  display: inline-block;
}

.secondary-menu__brand-name {
  display: inline-block;
  margin: auto;
  font-size: 1.5rem;
}

.secondary-menu__brand-name:visited {
  color: $light-text;
}

.secondary-menu__item {
  margin: auto;
  list-style: none;
  padding: 20px 25px;
  display: flex;
}

.secondary-menu__icon {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%)
    contrast(103%);
  opacity: 0.8;
  width: 1rem;
  margin: auto;
  margin-right: 10px;
}

.secondary-menu__item-name {
  display: inline-block;
  margin: auto;
  font-size: 1rem;
}

.secondary-menu__item-link:hover {
  color: $green;
  cursor: pointer;
  filter: invert(58%) sepia(60%) saturate(331%) hue-rotate(76deg)
    brightness(91%) contrast(92%);
}

.secondary-menu__item-link {
  color: inherit;
  width: 100%;
  height: 100%;
}
